package com.duoduo.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
* @Description: ConfigClient3355Main
* @author: qwj
* @date: 2020/11/30 11:12
 *
 * /bus/refresh请求不再发送到具体的服务实例上，而是发给config server并通过destination参数类指定需要更新配置的服务或实例
 * 公式：http://localhost:配置中心的端口号/actuator/bus-refresh/{destination}
 * 例如：只想通知3355，不想通知3366
 * curl -X POST "http://localhost:3344/actuator/bus-refresh/config-client:3355"
*/
@SpringBootApplication
@EnableEurekaClient
public class ConfigClientMain3355
{
    public static void main( String[] args )
    {
        SpringApplication.run(ConfigClientMain3355.class,args);
    }
}
